<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title> 
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/ui-box.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-color.css">
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/img.css">

    <link rel="stylesheet" href="css/ani.css">

    <script src="js/core/zy_control.js"></script>
    <script src="js/core/zy_click.js"></script>
    <script src="js/core/appframework.js"></script>
    <script src="js/download.js"></script>
    <script src="js/main.js"></script>
    <script src="js/core.js"></script>
    <script src="js/res.js"></script>
    <script src="js/push.js"></script>
    
    <script src="js/signup.js"></script>

</head>
<body class="ub ub-ver ub-img3">
    <!-- <div id="top_tip" class="ub_center uabs ufp9 bc_tip tx-c uw100 uptb_1" style="z-index:1; top:-4em;">当前网络不可用，请检查您的网络设置</div> -->
    <div id="header" class="uplr_13 ub-f1 hide">
        <div class="ub ub-ver">
            <div class="ub tx-c ub-ac ub-pc uw100" style="height: 14em;">
                  <!--  <img src="img/icon_logo1.png" class="uw100"> -->
                  <div class="ub-f1 ub_img im_logo uh10"></div>
            </div>  
            <div class="ub-pc hide" id="num"></div>
        </div>    
        <div class="uplr_p5 uc-a1 umt_1"><input id="phone" placeholder="手机/MobileNo" type="number" class="input t_input t-bla" value=""><div class="b_list signup_input_ctn"></div></div>
        <div class="uplr_p5 uc-a1 umt_1"><input id="pwd" type="password" placeholder="密码/Password" class="input t_input t-bla" value=""><div class="b_list signup_input_ctn"></div></div>
        <div id="lgnBtn" ontouchstart="zy_touch()" onclick="Signup.lgn();" class="btn bc_btn t-bla umt_2">登　录/Log in</div>
        <div class="ub ub-pc ub-ac uh4">
            <div id="register" ontouchstart="zy_touch()" onclick="Signup.jump('signup_reg')">注册用户/Register</div>
        </div>
        <div id="findpass" class="tx-c" ontouchstart="zy_touch()" onclick="Signup.jump('signup_findpwd');">找回密码</div>
<!--         <div id="lgnDemo" ontouchstart="zy_touch()" onclick="Signup.lgnDemo();" class="btn t-bla">演示账号登录</div>        
        <div id="language" class="btn bc_btn t-bla umt_1 uw40 umauto" ontouchstart="zy_touch()" onclick="Signup.switchLanguage();"></div>  -->    
    </div>
</body>
</html>
<script>
zy_init();
$("#num").text("版本号："+Core.VERSION);
window.uexOnload = function(type){
    Add20ToHeader();
    if (!type) {
       
       Signup.init();
       Push.init();
       setTimeout(function(){
           if (uexWidgetOne.platformName == "android") {
            $.ajax({
                url: "http://123.57.212.18:3000/upgrade/android.json",
                type: "GET",
                success: function(res) {
                    if (res.version > Core.VERSION) {
                        var str = "发现新版本，是否更新？\n版本号：v" + res.version + "\n修改日志:\n" + res.changeLog
                        //var message = str.replace(/\n/g, "<br>");
                        $confirm(str, function(){
                            $("body").append('<div style="position:absolute; top:0px; left:0px; width:100%; height:100%; z-index:9999;"></div>');
                            Download.download(res.url, "down/up.apk", function(){
                                uexWidget.installApp("wgt://data/down/up.apk");
                            }, false);
                        });
                    } 
                },
                error: function(XMLHttpRequest, textStatus) {
                }
            });
        }
       }, 3000);
       
    }
}
</script>